<?php

namespace App\Repositories;

use App\Models\IndexSlideshow;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class IndexSlideshowRepository
 * @package App\Repositories
 * @version February 18, 2018, 3:28 pm UTC
 *
 * @method IndexSlideshow findWithoutFail($id, $columns = ['*'])
 * @method IndexSlideshow find($id, $columns = ['*'])
 * @method IndexSlideshow first($columns = ['*'])
*/
class IndexSlideshowRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'pic',
        'skip_type',
        'skip_id',
        'json',
        'sort'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return IndexSlideshow::class;
    }
}
